phpseclib3\Crypt\ChaCha20 S

Total Complexity 43
Dependencies 4
Dependents 1
Total lines 770
Lines of code 487
Logical lines of code 762
Comment lines 156
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
salsa20()
B
24
1 356
setup()
A
48 9 32
isValidEngineHelper()
A
58 10 14
decrypt_with_libsodium()
A
51 8 26
encrypt_with_libsodium()
S
58 5 14
setNonce()
S
58 4 15
encrypt()
S
69 2 7
decrypt()
S
69 2 7
quarterRound()
S
68 1 6
doubleRound()
S
63 1 10